# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-online-miners
pkgver=3.34.0
pkgrel=0
pkgdesc="A set of crawlers that go through your online content and index them locally"
url="https://wiki.gnome.org/Projects/GnomeOnlineMiners"
arch="all"
license="GPL-2.0-or-later"
makedepends="libgdata-dev glib-dev gnome-online-accounts-dev grilo-dev tracker-dev
	gfbgraph-dev"
subpackages="$pkgname-static $pkgname-doc"
source="https://download.gnome.org/sources/gnome-online-miners/${pkgver%.*}/gnome-online-miners-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-media-server \
		--disable-windows-live
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="bfcdd7f11607663eda491314c34a9b50f2885f6fb39e7c9e68a77927bbcc326979fb8900ab5dfac1494ac575dbf0e3f3b7459ec3f38cb1eb8961158e3fe44464  gnome-online-miners-3.34.0.tar.xz"
